<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>thymeleaf</h1>

<p th:text="${demo}"></p>
<p>[[${demo}]]</p>
<img th:src="@{${url}}" th:style="${style}">
<img th:attr="src=@{${url}},style=${style}">//集合

</body>
</html>